package com.xunlai.infra.permission.storage.entity;

import lombok.*;
import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Table;

import java.io.Serial;
import java.io.Serializable;

/**
 * @author liang
 * @date 12/21/22 8:23 AM
 */
@Table("system_position")
@Data
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class Position extends BaseEntity implements Serializable {

    @Serial
    private static final long serialVersionUID = 4661259362028056950L;

    @Id
    private Long id;

    private String positionName;

    private String positionCode;

    private Boolean enable;

}
